package com.atguigu.gulimall.pay;

import com.atguigu.gmall.common.exception.EnableAutoExceptionHandle;
import com.atguigu.gmall.common.interceptor.annotation.EnableUserAuthFeignInterceptor;
import com.atguigu.gulimall.util.annotation.EnableMallRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringCloudApplication
@EnableFeignClients({
        "com.atguigu.gulimall.feign.order"
})
@EnableUserAuthFeignInterceptor
@EnableMallRabbit
@EnableAutoExceptionHandle
public class PayMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(PayMainApplication.class, args);
    }
}
